﻿#nullable enable

using System.Collections.Generic;
using System.Threading.Tasks;

namespace PHMEE.EnergyEfficiency;

public interface ICiiReductionFactorRepository
{
    Task<CiiReductionFactor?> GetByYearAsync(int year);

    Task<List<CiiReductionFactor>> GetAllAsync();

    Task InsertAsync(CiiReductionFactor ciiReductionFactor);
    
    Task InsertManyAsync(IEnumerable<CiiReductionFactor> ciiReductionFactors);

    Task UpdateAsync(CiiReductionFactor ciiReductionFactor);

    Task DeleteByYearAsync(int year);
}